<!DOCTYPE html>
<html lang="en">
    <head>
        <title>linux-dash : Server Monitoring Web Dashboard</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
        <meta name="description" content="Monitor your Linux server through a simple web dashboard. Open source and free!">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon">
        <link rel="icon" href="img/favicon.ico" type="image/x-icon">
        <link href="css/bootstrap.min.css" rel="stylesheet" type="text/css">
        <link href="css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css">
        <link href="css/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
        <link href="css/style.css" rel="stylesheet" type="text/css">
        <link href="css/pages/dashboard.css" rel="stylesheet" type="text/css">
        <link href="css/odometer.css" rel="stylesheet" type="text/css">
        <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
          <script src="https://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
    </head>
    <body>
        <div class="navbar navbar-fixed-top">
            <div class="navbar-inner">
                <div class="container">
                    <a class="brand" href="./">Falcon-swcollector</a>
                    <div class="nav-collapse">
        		        <ul class="nav pull-right">
                            <li>
                                <a target="_blank" href="https://github.com/gaochao1/swcollector">
                                    <i class="lead icon-github-sign"></i> 
            				        <span class="lead">Contribute on GitHub</span>
            			        </a>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="subnavbar">
            <div class="subnavbar-inner">

 	        <a class="btn btn-navbar btn-info visible-phone" data-toggle="collapse" data-target=".nav-collapse">
        	    <span class="icon-bar"></span>
        	    <span class="icon-bar"></span>
        	    <span class="icon-bar"></span>
      		</a>

                <div class="container nav-collapse">

                    <ul class="mainnav">
                        <li>
                            <a class="js-smoothscroll" href="#refresh-os"><i class="icon-info-sign"></i><span>General</span></a>
                        </li>
                        <li>
                            <a class="js-smoothscroll" href="#refresh-sw"><i class="icon-list-alt"></i><span>Switch</span></a>
                        </li>                           
                    </ul>

                </div><!-- /container -->
            </div><!-- /subnavbar-inner -->
        </div><!-- /subnavbar -->
        <div class="main">
            <div class="main-inner">
                <div class="container">
                    <div class="lead" style="text-align: center;">
                        <div class="btn icon-refresh js-refresh-info" data-title="Refresh all widgets!" data-toggle="tooltip" id="refresh-all"></div>
                        <div>
                            A simple web dashboard to monitor your switch.
                        </div>
                    </div>
                    <div id="widgets" class="">

                    <div class="row">
                        <div class="span3">
                            <div id="general-info-widget" class="widget widget-table action-table">
                                <div class="widget-header">
                                    <i class="icon-info-sign"></i>
                                    <h3>
                                        General Info
                                    </h3>
                                    <div id="refresh-os" class="btn icon-refresh js-refresh-info"></div>
                                </div><!-- /widget-header -->
                                <div class="widget-content">
                                    <div class="general-info-item">
                                        <span class="general-title">活跃交换机数</span>
                                        <span class="general-data" id="live-info"></span>
                                    </div>

                                    <div class="general-info-item">
                                        <span class="general-title">IP段</span>
                                        <span class="general-data" id="ip-range"></span>
                                    </div>  

                                    <div class="general-info-item">
                                        <span class="general-title">Server Time</span>
                                        <span id="os-time"></span>
                                    </div>

                                    <div class="general-info-item">
                                        <span class="general-title">Agent Version</span>
                                        <span id="agent-version"></span>
                                    </div>
                                </div>
                            </div><!-- /widget -->
                        </div>
                    </div><!--./row -->


                        <div class="row">           
                            <div class="span12">
                                <div id="sw-widget" class="widget widget-table">
                                    <div class="widget-header">
                                        <i class="icon-list"></i>
                                        <h3>
                                            Switch
                                        </h3>
                                        <div id="refresh-sw" class="btn icon-refresh js-refresh-info"></div>
                                    </div><!-- /widget-header -->
                                    <div class="widget-content">
                                        <table id="switch_list" class="table table-hover table-condensed table-bordered"></table>
                                    </div><!-- /widget-content -->
                                </div><!-- /widget -->
                            </div>
                        </div><!--./row -->


                    </div><!-- #/widgets -->


                    <div class="clear"></div>
                    <footer>
                        <div class="site-source">
                            <a href="/">Falcon-swcollector</a> is open source on <a href="https://github.com/open-falcon" target="_blank">GitHub</a>.<br />
                            Patches, suggestions, and comments are welcome.
                        </div>
                        <div class="sfc-member">
                            Powered by gaochao1 freedomkk-qfeng</a>
                        </div>
                    </footer>


                </div>
            </div><!-- /main-inner -->
        </div><!-- /main -->

      

        <!-- Javascript-->
        <!-- Placed at the end of the document so the pages load faster -->
        <script src="js/jquery.js" type="text/javascript"></script>
        <script src="js/jquery-ui.min.js" type="text/javascript"></script>
        <script src="js/bootstrap.js" type="text/javascript"></script>
        <script src="js/jquery.dataTables.min.js" type="text/javascript"></script>
        <script src="js/odometer.js" type="text/javascript"></script>
        <script src="js/dashboard.js" type="text/javascript"></script>
        <script src="js/base.js" type="text/javascript"></script>
    </body>
</html>

